    /**
    * $.yitip
    * @extends jquery.1.4.2
    * @连续滚动
    * @author 王超伟
    * @email art2006art@gmail.com
    * @site wwww.ipropre.com
    * @version 0.1
    * @date 2012-10-04
    * Copyright (c) 2010-2010 聚客买家好评墙
    */
   
   ;(function($){
		
		$.fn.extend({
					
					'jRoll' : function(options) {
							
							var setting = {
									innerElement:'#thisMove',
									sonElement:'.column',
									stepLength:560, 	//向上移动多少以后把前面的元素放到后面去
									speed:50
								};
							
							var obj = $.extend(setting,options);
							$(this).css({'position':'relative'});
							
							var _ele = $(obj.innerElement,this);
							_ele.css({'position':'absolute','top':0});
							var _pos;
							var _top;
							var adTimer = function(){
													_pos = _ele.position();
													_top = _pos.top - 1;
													if(-_top%obj.stepLength == 0){
														$(obj.sonElement).each(function(){
																	$(this).children('ul').eq(0).clone().appendTo($(this));
																});
													}
													_ele.css({'top':_top+'px'});
													
												}
							var oTime = setInterval(adTimer,obj.speed);
							$(obj.innerElement).mouseover(function(){clearInterval(oTime);}); //鼠标移上 暂停滚动
							$(obj.innerElement).mouseout(function(){ oTime = setInterval(adTimer,obj.speed);}); //鼠标移开 继续滚动
							return this;
						}

		});
		
		
    })(jQuery);
	
